<template>
  <div class="follow">
    <div class="follow_header">
      <router-link to="/Follow/school" tag="span">学校</router-link>
      <router-link to="/Follow/major" tag="span">专业</router-link>
    </div>
    <div class="follow_list">
      <keep-alive>
        <router-view></router-view>
      </keep-alive>
    </div>
  </div>
</template>

<script>
export default {
  name: "Follow"
};
</script>

<style lang="scss" scoped>
.follow {
  .follow_header {
    width: 100%;
    border-radius: 10px;
    background: #ffffff;
    font-size: 16px;
    height: 72px;
    line-height: 72px;
    box-sizing: border-box;
    padding: 0 10px;
    display: flex;
    span {
        cursor: pointer;
      height: 72px;
      line-height: 72px;
      padding: 0 24px;
      color: #757575;
      display: block;
    }
    .router-link-active {
      color: #414141;
    }
  }

  .follow_list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
</style>

